<?php

    #-------------------------------------------------------------#
	# This file is part of the Tekuna MVC Microframework for PHP. #
	# (c) 2009 Niels Jäckel <niels.jaeckel@tekuna.org>            #
	# Please visit http://tekuna.org/ for more information.       #
	#                                                             #
	# This software is licensed under the MIT License. Please     #
	# view the LICENSE file for the full text of this license.    #
    #-------------------------------------------------------------#


	/**
	 * Interface for translation components that are used by the MVCController.
	 * The implementation provides a translate() method that translates a given
	 * string to the language that was specified in the constructor argument.
	 */

	interface TekunaTranslator {

		/**
		 * Get new Instance of the Translator.
		 *
		 * @param string $sLanguage the target language
		 */

		public function __construct($sLanguage);


		/**
		 * Translates a given string to the language that was
		 * specified in the constructor.
		 *
		 * @param string $sText the text for translation
		 */

		public function translate($sText);
	}